<h4><%= header %></h4>
<form id="EditView" name="EditView" method="POST" onsubmit="return false;">
<input type="submit" style="display: none;" data-role="none">
<ul data-role="listview" data-theme="a">
<li data-role="list-divider"><%= helper.translate('LBL_ACCOUNT_INFORMATION', 'Accounts') %></li>
<li>
<label for="name"><%= helper.translate('LBL_NAME', 'Accounts') %></label>
<input type='text' name='name' 
id='name'
maxlength='150' 
value="<%= model.get('name') %>"      required      >
</li>
<li>
<label for="phone_office"><%= helper.translate('LBL_PHONE_OFFICE', 'Accounts') %></label>
<input type='text' name='phone_office' 
id='phone_office'
maxlength='100' 
value="<%= model.get('phone_office') %>"          >
</li>
<li>
<label for="website"><%= helper.translate('LBL_WEBSITE', 'Accounts') %></label>
<input type='text' name='website' 
id='website'
maxlength='255' 
value="<%= model.get('website') %>"          >
</li>
<li>
<label for="email1"><%= helper.translate('LBL_EMAIL', 'Accounts') %></label>
<input type='email' name='email1' 
id='email1'
value="<%= model.get('email1') %>"          >
</li>
<li>
<label for="billing_address_street"><%= helper.translate('LBL_BILLING_ADDRESS', 'Accounts') %></label>
<fieldset>
<label><%= App.translate('LBL_STREET') %></label>
<textarea name="billing_address_street" value="" ><%= model.get('billing_address_street') %></textarea>
<label><%= App.translate('LBL_CITY') %></label>
<input name="billing_address_city" type="text" value="<%= model.get('billing_address_city') %>" >
<label><%= App.translate('LBL_STATE') %></label>
<input name="billing_address_state" type="text" value="<%= model.get('billing_address_state') %>" >
<label><%= App.translate('LBL_POSTAL_CODE') %></label>
<input name="billing_address_postalcode" type="text" value="<%= model.get('billing_address_postalcode') %>" >
<label><%= App.translate('LBL_COUNTRY') %></label>
<input name="billing_address_country" type="text" value="<%= model.get('billing_address_country') %>" >
</fieldset>
</li>
<li data-role="list-divider"><%= helper.translate('LBL_PANEL_ADVANCED', 'Accounts') %></li>
<li>
<label for="account_type"><%= helper.translate('LBL_TYPE', 'Accounts') %></label>
<select 
name="account_type" 
id="account_type" 
>
<%= helper.getHtmlOptions(model.get('account_type'), 'account_type_dom' ) %>
</select>
</li>
<li>
<label for="industry"><%= helper.translate('LBL_INDUSTRY', 'Accounts') %></label>
<select 
name="industry" 
id="industry" 
>
<%= helper.getHtmlOptions(model.get('industry'), 'industry_dom' ) %>
</select>
</li>
<li>
<label for="assigned_user_name"><%= helper.translate('LBL_ASSIGNED_TO_NAME', 'Accounts') %></label>
<input  type="text" value="<%= model.get('assigned_user_name') %>" name="assigned_user_name" id="assigned_user_name" autocomplete="off">
<input type="hidden" value="<%= model.get('assigned_user_id') %>" name="assigned_user_id" id="assigned_user_id">
<div>
<ul id="assigned_user_name-suggestions" data-role="listview" data-inset="true"></ul>
</div>
<script type="text/javascript">
	$("#assigned_user_name").autocomplete('assigned_user_id', 'Users');
</script>
</li>
</ul>
</form>
